<?php
ob_start();
session_start();

function __autoload($class_name) {
include './'.$class_name . '.php';
}

$cart = $_SESSION['cart'];
$ordercount = NULL;
	if(is_null($cart)){
		$ordercount = 0;	
	}else{
		$count = $cart -> countOrder();
	}
echo $count;
ob_end_flush();
?>
